package com.antong.cloud.order.provider.service;

import com.antong.cloud.common.core.util.R;
import com.antong.cloud.order.provider.model.dto.BookingDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "cloud-order-service")
public interface BookingFeignApi {

    @PostMapping(value = "/booking/getBookingById")
    R<BookingDTO> getBooking(@RequestParam("bookingId") String bookingId);


}
